<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zctype_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zctype_id" data-rule="required" disabled data-source="fas/zctype/index" class="form-control selectpage" name="row[zctype_id]" type="text" value="{$row.zctype_id}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num0')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num0" class="form-control" name="row[num0]" type="number" disabled value="{$row.num0}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Po')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-po" class="form-control" name="row[po]"  type="text" value="{$row.po}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gys')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gys" class="form-control" name="row[gys]"  type="text" value="{$row.gys}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fgroup')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fgroup" class="form-control" data-rule="required" disabled name="row[fgroup]" type="text" value="{$row.fgroup}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ffactory')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ffactory" class="form-control" data-rule="required" disabled name="row[ffactory]" type="text" value="{$row.ffactory}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sqdw')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sqdw" class="form-control" data-rule="required" disabled name="row[sqdw]" type="text" value="{$row.sqdw}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sydd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sydd" class="form-control" data-rule="required" disabled name="row[sydd]" type="text" value="{$row.sydd}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remarks" class="form-control " disabled rows="5" name="row[remarks]" cols="50">{$row.remarks}</textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cgstate')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="cgstateList" item="vo"}
                <label for="row[cgstate]-{$key}"><input id="row[cgstate]-{$key}"  name="row[cgstate]" type="radio" value="{$key}" {in name="key" value="$row.cgstate"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>


    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Rukudate')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-rukudate" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[rukudate]" type="text" value="{$row.rukudate}">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Ysdate')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-ysdate" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[ysdate]" type="text" value="{$row.ysdate}">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Ysremarks')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<textarea id="c-ysremarks" class="form-control " rows="5" name="row[ysremarks]" cols="50">{$row.ysremarks}</textarea>-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Gsdate')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-gsdate" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[gsdate]" type="text" value="{$row.gsdate}">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Ysmanager')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-ysmanager" class="form-control" name="row[ysmanager]" type="text" value="{$row.ysmanager}">-->
        <!--</div>-->
    <!--</div>-->

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Attachfiles')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-attachfiles"  class="form-control" size="50" name="row[attachfiles]" type="text" value="{$row.attachfiles}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-attachfiles" class="btn btn-danger plupload" data-input-id="c-attachfiles" data-multiple="true" data-preview-id="p-attachfiles"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-attachfiles" class="btn btn-primary fachoose" data-input-id="c-attachfiles" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-attachfiles"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-attachfiles"></ul>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
